package com.hc.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 教育信息
 *
 * @author 梁云亮
 */
@ApiModel(value = "Domain:Edu")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_edu")
public class Edu implements Serializable {
    private static final long serialVersionUID = 8997862123033527396L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "编号")
    private Integer id;

    /**
     * 学校名称
     */
    @TableField(value = "school")
    @ApiModelProperty(value = "学校名称")
    private String school;

    /**
     * 专业
     */
    @TableField(value = "major")
    @ApiModelProperty(value = "专业")
    private String major;

    /**
     * 入学时间
     */
    @TableField(value = "in_time")
    @ApiModelProperty(value = "入学时间")
    private LocalDate inTime;

    /**
     * 毕业时间
     */
    @TableField(value = "out_time")
    @ApiModelProperty(value = "毕业时间")
    private LocalDate outTime;

    /**
     * 学历
     */
    @TableField(value = "degree_id")
    @ApiModelProperty(value = "学历")
    private Integer degreeId;

    /**
     * 用户编号
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "用户编号")
    private Integer userId;

}
